<?php

namespace app\api\controller;

use app\common\controller\Api;
use app\common\model\Link as linkModel;

class Link extends Api
{


    public function linkList ()
    {
        $linkModel = new linkModel();
        $page = input('param.page/d');
        $limit = input('param.limit/d');
        return $linkModel->getList($page, $limit);
    }
}